﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Flowerslist.aspx.vb" Inherits="Macrography.Flowers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    </h2>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="Img_Id" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="Img_Id" HeaderText="Img_Id" InsertVisible="False" 
                ReadOnly="True" SortExpression="Img_Id" />
            <asp:BoundField DataField="Img_Description" HeaderText="Img_Description" 
                SortExpression="Img_Description" />
            <asp:ImageField DataImageUrlField="Images">
                <ControlStyle Height="200px" Width="200px" />
            </asp:ImageField>
            <asp:HyperLinkField DataNavigateUrlFields="Img_Id" 
                DataNavigateUrlFormatString="FlowerDetail.aspx?Img_Id={0}" Text="Detail" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:MacrgraphyConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:MacrgraphyConnectionString.ProviderName %>" 
        SelectCommand="SELECT [Img_Id], [Images], [Img_Description], [Cat_Id] FROM [Images] WHERE ([Cat_Id] = ?)">
        <SelectParameters>
            <asp:Parameter DefaultValue="6" Name="Cat_Id" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>

   <asp:Panel ID="panelContainer" runat="server">       
       <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        
                        <br />
                       
                        <br />
                       
                    </ContentTemplate>
                </asp:UpdatePanel>
               
                
            
      
               
                           
       
            </asp:Panel>

      
    
    
   
        </asp:Content>
